﻿using System.Configuration;

namespace CID.Tests.Support.Configuration.Database
{
    public class InitializationVariable : ConfigurationElement
    {
        private const string NameAttribute = "name";
        private const string ValueAttribute = "value";

        public InitializationVariable()
        { 
        }

        [ConfigurationProperty(NameAttribute,IsKey=true, IsRequired=true)]
        public string Name
        {
            get { return (string)this[NameAttribute]; }
            set { this[NameAttribute] = value; }
        }

        [ConfigurationProperty(ValueAttribute, IsRequired = true)]
        public string Value
        {
            get { return (string)this[ValueAttribute]; }
            set { this[ValueAttribute] = value; }
        }
    }
}
